﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="EbayAccountDetail.aspx.cs" Inherits="UI_Bas_EbayAccountDetail" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Ebay帐号明细</title>
    <script src="../../js/jquery.easyui/jquery.min.js" type="text/javascript"></script>
    <script src="../../js/jquery.easyui/jquery.easyui.min.js" type="text/javascript"></script>
    <link href="../../js/jquery.easyui/themes/icon.css" rel="stylesheet" type="text/css" />
    <link href="../../js/jquery.easyui/themes/default/easyui.css" rel="stylesheet" type="text/css" />
    <script src="../../js/jquery.easyui/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
    <script src="../../js/SelectCountry.js" type="text/javascript"></script>
</head>

 <script type="text/javascript">
    $(function() {
            $('#baseInfo').panel();
            $('#SeniorEditor').panel({
                closed: true
            });
             $('#SelectCountry').panel({
                closed: true
            });
            $("#showmore").click(function() {
                var val = $(this).text();
                if (val == "》》高级编辑") {
                    $(this).text("《《高级编辑");
                    $('#SeniorEditor').panel('open');
                }
                else {
                    $(this).text("》》高级编辑");
                    $('#SeniorEditor').panel('close');
                }
            });
            $("#txtUnSendCountry").click(function (){
                $('#SelectCountry').panel('open');
            });
        });    
 </script>

 <style type="text/css">
        #baseInfo input
        {
    	    width:300px;
        }
        #baseInfo select{
    	    width:306px;
        }
        #SeniorEditor input
        {
    	    width:300px;
        }
        #SeniorEditor select{
    	    width:306px;
        }
    </style>
<body>
<div id ="tt">
   <form id="form1" runat="server" style ="width :1100px;" >  
       <div id="baseInfo" title ="基本信息" >
            <table>
                <tr>
                    <td >Ebay帐号:</td>
                    <td colspan ="3" >                        
                         <input type="text" id="txtEbayUserId" runat="server" class="easyui-validatebox" required = "true"/> * 
                    </td>             
                </tr>          
                <tr>                                                   
                    <td >模板:</td>
                    <td>                      
                       <select id="ddlModeId" runat="server" class="easyui-validatebox" enableviewstate="false"/>
                   </td>
                   <td >支付方式:</td>
                    <td >                                             
                       <asp:DropDownList ID="ddlPayment" runat="server" class="easyui-validatebox" enableviewstate="false">
                            </asp:DropDownList>
                   </td>
                </tr>
                <tr>
                    <td >退货地址:</td>
                    <td>
                      <input type="text" id="txtReturnAddresser" runat="server" class="easyui-validatebox" required = "true"/> 
                    </td>            
                    <td >不发货国家:</td>
                    <td>
                        <input type="hidden"  id="countrytype" runat="server" value ="ebayaccount" /> 
                        <input id="txtCountryNames" type = "text" runat ="server" style="width:300px"  readonly ="readonly" />
                        <input type="button" id="selectmore" value="..."  style="width :30px;"/>                        
                    </td>
                </tr>
                 <tr>
                    <td >所在地:</td>
                    <td>
                       <input type="text" id="txtWareHouseAddress" runat="server" class="easyui-validatebox" required = "true"/> 
                    </td>           
                    <td >对卖家的要求:</td>
                    <td>
                        <input type="text" id="txtNoteToBuyer" runat="server" class="easyui-validatebox" required = "true"/> 
                    </td>
                </tr>                         
                 <tr>
                    <td >客服电话:</td>
                    <td>
                       <input type="text" id="txtCustomerServicePhone" runat="server" class="easyui-validatebox"  required = "true" />                     
                    </td>                            
                    <td >帐号经理联系方式:</td>
                    <td>
                        <input type="text" id="txtAccountManagerNote" runat="server" class="easyui-validatebox"/> 
                    </td>
                </tr>
                 <tr>
                    <td >帐号经理姓名:</td>
                    <td>
                        <input type="text" id="txtAccountManagerName" runat="server" class="easyui-validatebox"/>
                    </td>          
                    <td >帐号经理Email:</td>
                    <td>
                        <input type="text" id="txtAccountManagerEmail" runat="server" class="easyui-validatebox" required = "true"  validType="email" />
                    </td>                
                </tr>
                 <tr>
                    <td >订单号前缀:</td>
                    <td>
                         <input type="text" id="txtTopOfOrders" runat="server" class="easyui-validatebox"/>
                    </td>            
                    <td >订单来源:</td>
                    <td>
                      <select id="ddlOrderFrom" runat="server" class="easyui-validatebox" enableviewstate="false"/>                     
                   </td>
                </tr>
                 <tr>
                    <td >订单过期天数:</td>
                    <td>
                        <input type="text" id="txtOrderExpiredDays" runat="server" class="easyui-numberbox" required = "true"/>
                    </td>                   
                    <td >订单缺货保留天数:</td>
                    <td>
                        <input type="text"  id="txtOrderKeepDays" runat="server" class="easyui-numberbox" required = "true"/>
                  </td>
                </tr>
                 <tr>
                    <td >帐号状态:</td>
                   <td>
                        <select id="ddlAccountStatus" runat="server" class="easyui-validatebox" enableviewstate="false"/>                                       
                    </td>
                    <td  colspan ="2" >               
                        <a  href ="#" id="showmore" >》》高级编辑</a>     
                    </td>                              
                </tr>
                <tr>
                    <td >Token:</td>
                    <td colspan ="3">                        
                        <asp:TextBox ID="txtToken" TextMode ="MultiLine" class="easyui-validatebox" required = "true" style ="height :100px; width :760px;" runat="server"></asp:TextBox>   
                    </td>                
                </tr>     
           </table>
       </div>                            
       <div id="SeniorEditor"  title ="高级编辑">
          <table>
            <tr>
                <td>注册地:</td>
                <td>
                    <input type="text" id="txtRegisterAddress" runat="server" class="easyui-validatebox"/>               
                  </td>
                <td >默认注册电话:</td>                
                <td>
                    <input type="text" id="txtDefaultRegisterPhone" runat="server" class="easyui-validatebox"/>
                 </td>
             </tr>
            <tr>
                <td >注册电话1:</td>
                <td>
                    <input type="text" id="txtRegisterPhone1" runat="server" class="easyui-validatebox" />
                 </td>
                <td >注册电话2:</td>
                <td>
                    <input type="text" id="txtRegisterPhone2" runat="server" class="easyui-validatebox" />
                 </td>
            </tr> 
            <tr>
                <td >注册电话3:</td>
                <td>                  
                    <input type="text" id="txtRegisterPhone3" runat="server" class="easyui-validatebox" />
                 </td>           
                <td >注册电话4:</td>
                <td>                  
                    <input type="text" id="txtRegisterPhone4" runat="server" class="easyui-validatebox" />
                 </td>
            </tr> 
            <tr>
                <td >注册电话5:</td>
                <td>                  
                    <input type="text" id="txtRegisterPhone5" runat="server" class="easyui-validatebox" />
                 </td>          
                <td >注册电话6:</td>
                <td>                  
                    <input type="text" id="txtRegisterPhone6" runat="server" class="easyui-validatebox" />
                 </td>
            </tr> 
            <tr>
                <td >注册电话7:</td>
                <td>                  
                    <input type="text" id="txtRegisterPhone7" runat="server" class="easyui-validatebox" />
                 </td>           
                <td >默认注册地址:</td>
                <td>
                    <input type="text" id="txtDefaultRegisterAddresser" runat="server" class="easyui-validatebox"/>                     
                </td>
            </tr>
             <tr>
                <td >注册地址1:</td>
                 <td>
                    <input type="text" id="txtRegisterAddresser1" runat="server" class="easyui-validatebox"/>                     
                </td>            
                <td >注册地址2:</td>
                <td>
                    <input type="text" id="txtRegisterAddresser2" runat="server" class="easyui-validatebox"/>                     
                </td>
            </tr> 
             <tr>
                <td >注册地址3:</td>
                <td>
                    <input type="text" id="txtRegisterAddresser3" runat="server" class="easyui-validatebox"/>                     
                </td>           
                <td >注册地址4:</td>
                <td>
                    <input type="text" id="txtRegisterAddresser4" runat="server" class="easyui-validatebox"/>                     
                </td>
            </tr> 
             <tr>
                <td >注册地址5:</td>
                <td>
                    <input type="text" id="txtRegisterAddresser5" runat="server" class="easyui-validatebox"/>                     
                </td>            
                <td >注册地址6:</td>
                <td>
                    <input type="text" id="txtRegisterAddresser6" runat="server" class="easyui-validatebox"/>                     
                </td>
            </tr> 
             <tr>
                <td >注册地址7:</td>
                <td>
                    <input type="text" id="txtRegisterAddresser7" runat="server" class="easyui-validatebox"/>                     
                </td>          
                <td >姓名:</td>
                <td>
                    <input type="text" id="txtName" runat="server" class="easyui-validatebox"/>
                </td>
            </tr>                  
            <tr>
                <td >公司名称及信息:</td>
                <td>
                    <input type="text" id="txtBusinessNameAndInfo" runat="server" class="easyui-validatebox"/>
                </td>         
                <td >Return Address:</td>
                <td>
                    <input type="text" id="txtRetrunAddresser" runat="server" class="easyui-validatebox"/>
                </td>
            </tr>   
            <tr>
                <td >EbayAccount Manager:</td>
                <td>
                    <input type="text" id="txtAccountManager" runat="server" class="easyui-validatebox"/>
                </td>                     
                <td >注册信用卡号:</td>
                <td>
                    <input type="text" id="txtRegisterCreditCard" runat="server" class="easyui-numberbox"/>                   
                </td>
            </tr>      
            <tr>
                <td >使用IP地址:</td>
                <td>                  
                    <input type="text" id="txtIPAddresser" runat="server" class="easyui-validatebox"/>
                </td>         
                <td >IP地址管理公司:</td>
                <td>
                    <input type="text" id="txtIPAddresserCompany" runat="server" class="easyui-validatebox"/>
                </td>
            </tr>   
            <tr>
                <td >备注:</td>
                <td>
                    <input type="text" id="txtMnote" runat="server" class="easyui-validatebox"/>
                </td>
            </tr>             
          </table>
       </div> 
       <div id="c">
        <table id="t">
        </table>
         <div region="south" border="false" style="text-align:right;height:30px;line-height:30px;">
            <a id="btnOK" class="easyui-linkbutton" icon="icon-ok" href="javascript:void(0)">Ok</a>
            <a id="btnClose" class="easyui-linkbutton" icon="icon-cancel" href="javascript:void(0)">Cancel</a>
        </div>
        </div>     
     <table >   
         <tr>
          <td >                 
               <asp:LinkButton ID="btnSave" runat="server" CssClass="easyui-linkbutton" Text="提交" OnClick="btnSave_Click" OnClientClick=" return $('tt').form('validate');"></asp:LinkButton>
               <a id="btnReturn" class = "easyui-linkbutton" onclick="javascript:window.location.href='EbayAccount.aspx'" >返回</a>                       
            </td>
          </tr>
      </table>    
    </form>
 </div>
</body>
</html>